<template>
  <div>
    <button :class="[type, size]">{{ title }}</button>
  </div>
</template>

<script>
export default {
  props: ["type", "size", "title"],
  data() {
    return {};
  },

  created() {},

  methods: {},
};
</script>

<style scoped>
button {
  width: 120px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  border: none;
  border-radius: 7px;
  font-size: 16px;
  color: #fff;
  background-color: orange;
  float: left;
}
.primary {
  background-color: #409eff;
}
.success {
  background-color: #67c23a;
}
.info {
  background-color: #909399;
}
.medium {
  height: 40px;
  line-height: 40px;
  width: 80px;
}
.small {
  height: 35px;
  line-height: 35px;
  width: 70px;
  font-size: 14px;
}
.mini {
  height: 30px;
  line-height: 30px;
  width: 60px;
  font-size: 12px;
}
</style>
